feat(breadcrumbs): add Breadcrumb and related enums to event type definitions#613
Merged
feat(breadcrumbs): add Breadcrumb and related enums to event type definitions#613
Conversation
Member
Dobrunia
commented
Jan 15, 2026
- Introduced BreadcrumbLevel and BreadcrumbType enums for categorizing breadcrumbs.
- Added Breadcrumb type to represent events leading up to errors, including fields for timestamp, type, category, message, severity level, and associated data.
- Updated EventPayload to include a breadcrumbs field for tracking chronological events before an error.
…initions - Introduced BreadcrumbLevel and BreadcrumbType enums for categorizing breadcrumbs. - Added Breadcrumb type to represent events leading up to errors, including fields for timestamp, type, category, message, severity level, and associated data. - Updated EventPayload to include a breadcrumbs field for tracking chronological events before an error.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds breadcrumb tracking capabilities to the event system, enabling the capture of chronological events leading up to errors. The changes introduce two new enums for categorizing breadcrumbs, a Breadcrumb type definition, and integration into the existing EventPayload type.
Changes:
- Added BreadcrumbLevel enum with five severity levels (fatal, error, warning, info, debug)
- Added BreadcrumbType enum with six categorization types (default, request, ui, navigation, logic, error)
- Added Breadcrumb type with fields for timestamp, type, category, message, level, and arbitrary data
- Extended EventPayload with a breadcrumbs field to track chronological events before errors
- Bumped version from 1.3.1 to 1.3.2
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/typeDefs/event.ts | Added BreadcrumbLevel and BreadcrumbType enums, Breadcrumb type definition, and integrated breadcrumbs array into EventPayload; includes minor whitespace cleanup |
| package.json | Bumped version to 1.3.2 reflecting the new breadcrumb feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
neSpecc
approved these changes
Jan 22, 2026
slaveeks
reviewed
Jan 23, 2026
slaveeks
approved these changes
Jan 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.